<?php

if((isset($ci) && $ci instanceof courseInstance) && !is_null($ci->getCourseInstanceID())) {
	if (!$ci->course instanceof course) $ci->getCourseForUser($u->getUserID());
	if (isset($ci->course)) $currentClass = $ci->course->displayCourseNo();
} else {
	$currentClass = Rd_Registry::get('instanceName');
}

?>

<div id ="breadcrumbs" data-role="header">
				<a href="<?php print(RD_Registry::get('libraryMobileUrl')); ?>" data-role="none">
					<img src="<?php print(Rd_Registry::get('libraryMobileLogo')); ?>" class="subpageLogo" alt="<?php print(Rd_Registry::get('institutionName')); ?> Logo">
				</a>
				<h1><?php print(Rd_Registry::get('instanceName')); ?></h1>
			<?php if (isset($u)): ?>
				<a href="logout.php?mobile=true">Logout</a>
			<?php endif; ?>
</div>